package com.xx.ch05.home.home01;

/**
 * @author 许欣
 * 时间：2022/4/16 11:54
 * 描述：
 */
public class Equip {
    private String name;//装备名称
    private String type;//装备类型，头盔、铠甲等
    private Long speedPlus;//速度增效
    private Long attackPlus;//攻击增效
    private Long defencePlus;//防卸增效

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getSpeedPlus() {
        return speedPlus;
    }

    public void setSpeedPlus(Long speedPlus) {
        this.speedPlus = speedPlus;
    }

    public Long getAttackPlus() {
        return attackPlus;
    }

    public void setAttackPlus(Long attackPlus) {
        this.attackPlus = attackPlus;
    }

    public Long getDefencePlus() {
        return defencePlus;
    }

    public void setDefencePlus(Long defencePlus) {
        this.defencePlus = defencePlus;
    }

    public void show(){
        System.out.println("装备名称："+name+"装备类型："+type+"速度增效："+speedPlus+"攻击增效："+attackPlus+"防御增效："+defencePlus);
    }
}
